pb-egret generate